/**
 * 
 */
package com.google.code.sip.ucenter.model;

/**
 * 性别枚举
 * 
 * @author Liuye
 * 
 */
public enum Gender {
	Male("Male"), Female("Female"), Unspecified("Unspecified");
	private String value;

	Gender(String value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return value;
	}

	public String getComment() {
		if ("Male".equals(value)) {
			return "男";
		}
		if ("Female".equals(value)) {
			return "女";
		}
		if ("Unspecified".equals(value)) {
			return "未指定";
		}
		return null;
	}
}
